﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _9.ConvertStringToUnicodeCharacterLiterals
{
    class ConvertStringToUnicodeCharacterLiterals
    {
        static void Main(string[] args)
        {
            string text = "Hi!";
            Console.WriteLine(text);
            for (int i = 0; i < text.Length; i++)
            {
                Console.Write("\\u{0:x4}", (int)text[i]);
            }
            Console.WriteLine();
        }
    }
}
